package com.easyj.admin.db.mapper;

import com.easyj.admin.db.model.Department;
import java.util.List;

public interface DepartmentMapper {
    long countByExample(Department example);

    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    List<Department> selectByExample(Department example);

    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    Department selectUniqueByUnique(String code);
    
      
}